Skip to content

Enable the GitHub Pages site on first deploy - #46

Merged
AyobamiH merged 1 commit into
mainfrom
fix/enable-pages
Sep 28, 2026
Merged

AyobamiH merged 1 commit into
mainfrom
fix/enable-pages

Conversation

@AyobamiH

Copy link
Copy Markdown
Owner

Why

Post-merge verification for #45 built the documentation site successfully (159 pages) but GitHub Pages deployment failed because the repository did not yet have a Pages site configured.

Changes

  • Allow the pinned actions/configure-pages@v6 step to enable the Pages site using the workflow's existing pages: write permission.
  • Add a static regression assertion for the enablement boundary.

pr-behavior-proof

Claim: the Pages workflow can provision the GitHub Actions-backed Pages site on its first deployment.
Surface: .github/workflows/pages.yml.
Scenario: push to main after Pages is absent.
Evidence: failing baseline run https://github.com/AyobamiH/clawsweeper/actions/runs/36418403543 built 159 pages, then configure-pages returned Not Found and explicitly recommended the enablement parameter. Local workflow test, formatting, actionlint, and diff checks pass.
Limits: GitHub performs the actual one-time enablement only from the trusted main-branch workflow after merge.

No Rube, Blacksmith, browser automation, or model API fallback is introduced.

@AyobamiH
AyobamiH merged commit c3d8197 into main Sep 28, 2026
9 checks passed
@AyobamiH
AyobamiH deleted the fix/enable-pages branch September 28, 2026 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant